import type { CSSProperties } from 'vue';
import type { IShapeProps } from '../../../types/IShape';

export const svgStyle = (item: IShapeProps): CSSProperties => {
  return {
    width: `${item.w}px`,
    height: `${item.h}px`,
  };
};
